<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/8
 * Time: 16:02
 */

namespace app\crm\model;


class Task extends BaseModel
{
    public function user(){
        return $this->belongsTo('User','user_id','id')->bind('nickname');
    }
}